<template>
  <div class="about">
    <h1>This is an about page</h1>
    <p>query:{{query}}</p>
    <p>params:{{params}}</p>
  </div>
</template>

<script>
  export default{
    created () {
      // ajax
      console.log(this.$route.query.id);   
      console.log(this.$route.params.id); 
      this.query = this.$route.query;
      this.params = this.$route.params;
    }
  }
</script>